package com.ruoyi.help.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 帮扶评价对象 bbl_help_evaluate
 *
 * @author ruoyi
 * @date 2023-05-20
 */
public class Evaluate extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 评价ID
     */
    private Long id;

    /**
     * 被评价老师
     */
    @Excel(name = "被评价老师")
    private String teacherName;

    /**
     * 评价分数
     */
    @Excel(name = "评价分数")
    private Long evaluateGrade;

    /**
     * 评价学生
     */
    @Excel(name = "评价学生")
    private String stuName;

    /**
     * 帮扶完成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "帮扶完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date helpTime;

    /**
     * 评价时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date evaluateTime;

    /**
     * 评价描述
     */
    @Excel(name = "评价描述")
    private String evaluateNote;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setEvaluateGrade(Long evaluateGrade) {
        this.evaluateGrade = evaluateGrade;
    }

    public Long getEvaluateGrade() {
        return evaluateGrade;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuName() {
        return stuName;
    }

    public void setHelpTime(Date helpTime) {
        this.helpTime = helpTime;
    }

    public Date getHelpTime() {
        return helpTime;
    }

    public void setEvaluateTime(Date evaluateTime) {
        this.evaluateTime = evaluateTime;
    }

    public Date getEvaluateTime() {
        return evaluateTime;
    }

    public void setEvaluateNote(String evaluateNote) {
        this.evaluateNote = evaluateNote;
    }

    public String getEvaluateNote() {
        return evaluateNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("teacherName", getTeacherName())
                .append("evaluateGrade", getEvaluateGrade())
                .append("stuName", getStuName())
                .append("helpTime", getHelpTime())
                .append("evaluateTime", getEvaluateTime())
                .append("evaluateNote", getEvaluateNote())
                .toString();
    }
}
